package com.whminwei.edu.api.dc.dto.fspn.school;

import com.fasterxml.jackson.annotation.JsonInclude;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

/**
 * 获取建筑管理员信息响应
 * 包括宿舍管理员
 *
 * @author zhangjq
 * @since 2024-05-12
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@JsonInclude(JsonInclude.Include.NON_NULL)
public class DcBldgWardenFspn {

    @Data
    @Builder
    @NoArgsConstructor
    @AllArgsConstructor
    @JsonInclude(JsonInclude.Include.NON_NULL)
    public static class DcBldgWarden {
        /**
         * 建筑编号
         */
        private String buildingId;
        /**
         * 管理员列表
         */
        private List<String> staffList;
    }

    /**
     * 建筑管理员列表
     */
    private List<DcBldgWarden> bldgWardenList;
}
